package com.example.validatespringbootstater.configure;

import com.example.validatespringbootstater.filter.TestFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @auther: 王振方
 * @date: 2024 05 27 10 05
 * @description:
 */
@Configuration
public class FilterConfiguration {

    @Bean
    public TestFilter testFilter(){
        System.out.println("加载TestFilter");
       return new TestFilter();
    }
}
